import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import iview from 'iview'
import 'iview/dist/styles/iview.css'
import {showLoginTip} from '@/common/js/loginTip'
import './common/css/inc.css'
import './common/css/table.less'

import 'babel-polyfill'
import * as Constants from '@/common/js/Constants'
import axios from '@/common/js/request'
import socket from '@/service/websocket'
Vue.prototype.socket=socket

Vue.prototype.$axios = axios
Vue.prototype.$Constants = Constants
Vue.config.productionTip = false
Vue.use(iview)
new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')
